#!/usr/bin/env node
let msg='hello,希里'
let utf8=Buffer.from(msg,'utf8');
let utf16=Buffer.from(msg,'utf16le');
console.log(utf8)
console.log(utf16)



//decoding ——译码
console.log(utf8.toString('utf-8'))

